package jnpf.message.fallback;

import jnpf.message.NoticeApi;
import jnpf.message.model.NoticeVO;
import jnpf.message.model.SentMessageModel;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * 调用系统消息Api降级处理
 *
 * @author JNPF开发平台组
 * @version V3.1.0
 * @copyright 引迈信息技术有限公司（https://www.jnpfsoft.com）
 * @date 2021-03-24
 */
@Component
public class NoticeApiFallback implements NoticeApi {

    @Override
    public List<NoticeVO> getNoticeList(List<String> list) {
        return new ArrayList<>();
    }

    @Override
    public void sentMessage(SentMessageModel sentMessageModel) {

    }

    @Override
    public void autoSystem(@RequestBody Map<String, Object> map) {

    }

    @Override
    public void sendMessage(Map<String, Object> objectMap) {

    }
}

